Repository navigation
chore(ci): skip unit work for docs-only pull requests and build www on pull requests - #53314
Closed
opencode-agent[bot] wants to merge 1 commit into
Closed
opencode-agent[bot] wants to merge 1 commit into
opencode-agent[bot] wants to merge 1 commit into
Conversation
Contributor
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A pull request that only edits the docs site runs about 5 minutes of
unitwork that cannot be affected by it, and never builds the site, so a broken docs link passes CI and first fails indeploy-wwwonv2.Recent docs-only PRs (#52896, #52780, #52752):
unit (windows)228–354 s,unit (linux)82–128 s: mostly the compiled CLI build and service smoke tests, which run on every PR.e2ealready skips itself (the app is not affected),typecheckrunsastro checkforservices/www.astro buildorvalidate-links.ts.Changes, pull requests only (push workflows and the
deploy-www/deploy-filesdeploys are untouched):test.yml: theaffectedjob setsdocs=truewhen every file the PR changes is underservices/www/src/docs/.unitthen skips its steps. It skips steps rather than the job, the same waye2edoes, so the requiredunit (linux)andunit (windows)checks still report success.unitnowneeds: affected;e2ealready waits on it, so the overall run is not longer.www.yml(new): on PRs tov2that touchservices/www/**, runsbun run build(generate,astro build, pagefind, link validation, Cloudflare prep) without deploying. No secrets needed.nix-eval.yml:paths-ignoreforservices/www/src/docs/**on PRs. It is not a required check.typecheckstill runs for every PR.Verification:
services/www/script/alone, or an empty list.bun run buildinservices/wwwsucceeds without Cloudflare credentials. With a broken link added tocompaction.mdxit fails invalidate-links.ts. Neither current PR check catches that.Requested by: @nexxeln (nexxel via Slack)